#ifndef __NETWORK_LISTENER_H__
#define __NETWORK_LISTENER_H__

#include "network/GameServer.h"
#include "network/GameMessage.h"
#include "network/GameClient.h"
#include "network/GameObserver.h"
#include <Player.h>

class NetworkListener : public GameObserver{
        void update(GameMessage e);
        virtual void player_joined(Player payer,std::list<Player> players) = 0;
        virtual void player_left(Player player,std::list<Player> players) = 0;
        virtual void update_position(Player player) = 0;
};
#endif
